package net.web.dto;

import net.melon.page.pojo.ModuleLink;
import net.melon.product.pojo.Product;

public class ParamProduct {
	
	private String id;
	
	private String url;
	
	private int order;
	
	private Product product;

	public ParamProduct() {
		
	}
	
	public ParamProduct(ModuleLink link, Product product) {
		this.id = String.valueOf(link.getId());
		this.url = link.getUrl();
		this.order = link.getOrder();
		this.product = product;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getOrder() {
		return order;
	}

	public void setOrder(int order) {
		this.order = order;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}
	
}
